﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     代理业务类库
//     结算管理业务对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

using CL.Business.DAL;
using CL.Enum.Common;

namespace CL.Business.BLL
{
    /// <summary>
    /// SettlementManagerBLL 业务
    /// </summary>
    public class SettlementManagerBLL
    {
        private SettleDayDAL dal = new SettleDayDAL(DbConnectionEnum.CaileBusiness);

        /// <summary>
        /// 计算预计分成
        /// </summary>
        public void DoSettlement()
        {
            dal.CalSettlement();
        }
        /// <summary>
        ///  计算用户上月返点
        /// </summary>
        public void DoMonthSettlement()
        {
            dal.CalLastMonthSettlement();
        }
        /// <summary>
        /// 去除推广未达标的用户推广资格
        /// </summary>
        public void DoGetUserNoEffectExtensionBll()
        {
            dal.GetUserNoEffectExtensionBal();
        }
    }
}
